package com.lzxuni.modules.pestdetails.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lzxuni.modules.pestdetails.entity.Pest;
import com.lzxuni.modules.pestdetails.entity.PestYear;
import com.lzxuni.modules.pestdetails.mapper.PestAnalysisMapper;
import com.lzxuni.modules.pestdetails.service.PestAnalysisService;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PestAnalysisServiceImpl extends ServiceImpl<PestAnalysisMapper, Pest> implements PestAnalysisService {
    @Override
    public List<Pest> queryMonthList(Pest pest) {
        return baseMapper.queryMonthList(pest);
    }

    @Override
    public List<PestYear> queryYearList(PestYear pestYear) {
        return baseMapper.queryYearList(pestYear);
    }
}
